/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package curves;

import javax.swing.JFrame;
import static javax.swing.SwingUtilities.invokeLater;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import curves.gui.Window;

public class Main extends JFrame {

    public static void main(String[] args) throws Exception {

        for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
            if ("Nimbus".equals(info.getName())) {
                UIManager.setLookAndFeel(info.getClassName());
                break;
            }
        }
        
        invokeLater(new Runnable() {
            public void run() {
                new Window();
            }
        });
    }
}
